home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 176-200 / disk_185 / tp_iff_specs / anbm < prev    next >
Text File  |  1992-05-06  |  3KB  |  86 lines

  1. TITLE:  Form ANBM (animated bitmap form used by Framer, Deluxe Video) 
  2.  
  3. (note from the author) 
  4.   
  5.    The format was designed for simplicity at a time when the IFF  
  6. standard was very new and strange to us all.  It was not designed 
  7. to be a general purpose animation format.  It was intended to be 
  8. a private format for use by DVideo, with the hope that a more  
  9. powerful format would emerge as the Amiga became more popular. 
  10.   
  11.    I hope you will publish this format so that other formats will 
  12. not inadvertantly conflict with it. 
  13.   
  14. PURPOSE:  To define simple animated bitmaps for use in DeluxeVideo. 
  15.   
  16.    In Deluxe Video objects appear and move in the foreground 
  17. with a picture in the background.  Objects are "small" bitmaps 
  18. usually saved as brushes from DeluxePaint and pictures are large 
  19. full screen bitmaps saved as files from DeluxePaint.   
  20.     
  21.    Two new chunk headers are defined: ANBM and FSQN. 
  22.   
  23.    An animated bitmap (ANBM) is a series of bitmaps of the same  
  24. size and depth.  Each bitmap in the series is called a frame and 
  25. is labeled by a character, 'a b c ...' in the order they 
  26. appear in the file. 
  27.   
  28.    The frame sequence chunk (FSQN) specifies the playback 
  29. sequence of the individual bitmaps to achieve animation.   
  30. FSQN_CYCLE and FSQN_TOFRO specify two algorithmic sequences.  If  
  31. neither of these bits is set, an arbitrary sequence can be used 
  32. instead. 
  33.   
  34.   
  35.     ANBM         - identifies this file as an animated bitmap 
  36.     .FSQN        - playback sequence information 
  37.     .LIST ILBM   - LIST allows following ILBMs to share properties 
  38.     ..PROP ILBM  - properties follow 
  39.     ...BMHD      - bitmap header defines common size and depth 
  40.     ...CMAP      - colormap defines common colors 
  41.     ..FORM ILBM  - first frame follows  
  42.     ..BODY       - the first frame 
  43.        .         - FORM ILBM and BODY for each remaining frame 
  44.        . 
  45.        . 
  46.   
  47. Chunk Description: 
  48.   
  49.    The ANBM chunk identifes this file as an animated bitmap 
  50.   
  51. Chunk Spec:   
  52.     
  53.    #define ANBM    MakeID('A','N','B','M') 
  54.   
  55. Disk record:   
  56.   
  57.    none 
  58.   
  59. Chunk Description: 
  60.   
  61.    The FSQN chunk specifies the frame playback sequence 
  62.   
  63. Chunk Spec: 
  64.   
  65.    #define FSQN    MakeID('F','S','Q','N') 
  66.   
  67.    /* Flags */ 
  68.    #define FSQN_CYCLE  0x0001  /* Ignore sequence, cycle a,b,..y,z,a,b,.. */ 
  69.    #define FSQN_TOFRO  0x0002  /* Ignore sequence, cycle a,b,..y,z,y,..a,b, */ 
  70.    /* Disk record */ 
  71.    typedef struct { 
  72.        WORD numframes;      /* Number of frames in the sequence */ 
  73.        LONG dt;             /* Nominal time between frames in jiffies */ 
  74.        WORDBITS flags;      /* Bits modify behavior of the animation */ 
  75.        UBYTE sequence[80];  /* string of 'a'..'z' specifying sequence */ 
  76.        } FrameSeqn; 
  77.   
  78.   
  79. Supporting Software: 
  80.   
  81.    DeluxeVideo by Mike Posehn and Tom Case for Electronic Arts 
  82.   
  83.   
  84. Thanks, 
  85.    Mike Posehn
  86.